namespace Acme.ELeMe.SDK.Response;

public class BillGetResult
{
    /// <summary>
    /// 平台门店id
    /// </summary>
    public string baidu_shop_id { get; set; }
    /// <summary>
    /// 账单日期，格式：10位时间戳
    /// </summary>
    public long date { get; set; }
    /// <summary>
    /// 应付金额，单位：分
    /// </summary>
    public int expend_fee { get; set; }
    /// <summary>
    /// 订单数量
    /// </summary>
    public int order_count { get; set; }
    /// <summary>
    /// 订单明细详情
    /// </summary>
    public OrderDetailFee order_detail_fee { get; set; }
    /// <summary>
    /// 实际付款主体名称
    /// </summary>
    public string pay_entity { get; set; }
    /// <summary>
    /// 未结算金额，单位：分
    /// </summary>
    public long pay_fee { get; set; }
    /// <summary>
    /// 应收金额，单位：分
    /// </summary>
    public long shop_fee { get; set; }
    /// <summary>
    /// 第三方门店id
    /// </summary>
    public string shop_id { get; set; }
    /// <summary>
    /// 入账时间，格式：10位时间戳
    /// </summary>
    public long payment_date { get; set; }
}

public class OrderDetailFee
{
    /// <summary>
    /// 代理商补贴，单位：分
    /// </summary>
    public long agent_rate { get; set; }
    /// <summary>
    /// 冷链加工费，单位：分
    /// </summary>
    public long cold_box_fee { get; set; }
    /// <summary>
    /// 实收佣金，单位：分
    /// </summary>
    public long commission { get; set; }
    /// <summary>
    /// 包装费，单位：分
    /// </summary>
    public long package_fee { get; set; }
    /// <summary>
    /// 平台补贴，单位：分
    /// </summary>
    public long platform_rate { get; set; }
    /// <summary>
    /// 商品总金额，单位：分
    /// </summary>
    public long product_fee { get; set; }
    /// <summary>
    /// 配送费，单位：分
    /// </summary>
    public long send_fee { get; set; }
    /// <summary>
    /// 商户补贴，单位：分
    /// </summary>
    public long shop_rate { get; set; }
    /// <summary>
    /// 用户实付金额，单位：分
    /// </summary>
    public long user_fee { get; set; }
    /// <summary>
    /// 众包呼单费，单位：分
    /// </summary>
    public long zhongbao_call_fee { get; set; }
    /// <summary>
    /// 履约服务费（基础物流费），单位：分
    /// </summary>
    public long actual_base_logistics_amount { get; set; }
    /// <summary>
    /// 距离加价费，单位：分
    /// </summary>
    public long actual_base_distance_amount { get; set; }
    /// <summary>
    /// 时间加价费，单位：分
    /// </summary>
    public long actual_base_time_amount { get; set; }
    /// <summary>
    /// 基础物流费总额，单位：分。基础物流费总额=履约服务费（基础物流费）+距离加价费+时间加价费
    /// </summary>
    public long base_logistics_amount { get; set; }
    /// <summary>
    /// 订单呼单小费，单位：分
    /// </summary>
    public long delivery_tip_amount { get; set; }
    /// <summary>
    /// 增值服务费总额，单位：分
    /// </summary>
    public long addition_service_price { get; set; }
    /// <summary>
    /// 渠道费
    /// </summary>
    public long pay_channel_fee { get; set; }
}